<template>

  <section class="index-footer">
    <div class="footer">
      <dl>
        <dt><img src="../assets/main_img/home_active.png" alt=""></dt>
        <dd class="dd1">首页</dd>
      </dl>
      <dl>
        <router-link to="/ShopCar">
          <dt><img src="../assets/main_img/car.png" alt=""></dt>
          <dd>购物车</dd>
        </router-link>  
      </dl>
      <dl>
        <router-link to="/Mine">
          <dt><img src="../assets/main_img/my.png" alt=""></dt>
          <dd>我的</dd>
        </router-link>
      </dl>
    </div>
  </section>

</template>

<script>
  export default  {
    name: 'index-footer',
    props: [],
    mounted() {

    },
    data() {
      return {

      }
    },
    methods: {

    },
    computed: {

    }
}
</script>

<style scoped>
  .footer{
    position: fixed;
    bottom: 0;
    height: 1rem;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: row;
    color: #727272;
    
  }
  .footer dl{
    flex: 1;
    text-align: center;
    line-height: 10px;
  }
  .footer .dd1{
    color: #eb1625;
  }
  .footer img{
    width: 0.45rem;
    margin-top: 0.14rem;
  }
  .footer dd{
    color: #323232;
  }
</style>
